<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="http://www.tmooc.cn">
    用户名:<input type="text" name="username" maxlength="5" value="ikun" placeholder="用户名"><br>
    密码:<input type="password" name="password" placeholder="密码"><br>
    性别<input type="radio" name="gender"  checked value="m" id="r1">
    <label for="r1">男</label>
    <input type="radio" name="gender" value="w" id="r2">
    <label for="r2">女</label><br>
    兴趣爱好:<input type="checkbox" name="hobby" value="c">唱
    <input type="checkbox" name="hobby" value="t">跳
    <input type="checkbox" name="hobby" value="rap">rap
    <input type="checkbox" name="hobby" checked value="lq">篮球
    <input type="checkbox" name="hobby" value="music">music<br>
    生日:<input type="date" name="birthday"><br>
    照片:<input type="file" name="pir"><br>
    所在地:<select name="city">
        <option value="sngz">水泥管子</option>
        <option value="xsd">下水道</option>
        <option selected value="tt">天台</option>
    </select><br>
    <input type="submit" value="注册">
    <input type="reset">
    <input type="button" value="没用">
    <hr>
    <button type="submit">注册</button>
    <button type="reset">重置</button>
    <button type="button">没用</button>
</form>
</body>
</html>